package Main;

import java.io.*;

public abstract class GoOverFiles {

	public abstract void run();
	
	public void goInOrder(File file) {
	    final File[] children = file.listFiles();

	    if (children != null) {
	        for (File child : children) {
	        	run();
	            goInOrder(child);
	        }
	    }
	}
}
